package com.fyl.pattern.decorator;

/**
 * 具体构件
 */
public class FriedNoodles extends FastFood{
    public FriedNoodles() {
        super(12, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
